package org.apmap.forms;

import org.apache.struts.action.ActionForm;
import org.apmap.common.Currency;
import org.apmap.base.OfferType;

public class FlatForm extends ActionForm {

    private long flatid;
    private String type = OfferType.RENT.toString();
    private String AD = "";
    private byte RN = 0;
    private int square = 0;
    private byte floor = 0;
    private double price = 0.0;
    private String CR = Currency.USD.toString();
    private String CM = "";

    public long getFlatid() {
        return flatid;
    }

    public void setFlatid(long flatid) {
        this.flatid = flatid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAD() {
        return AD;
    }

    public void setAD(String AD) {
        this.AD = AD;
    }

    public byte getRN() {
        return RN;
    }

    public void setRN(byte roomNumber) {
        this.RN = roomNumber;
    }

    public int getSquare() {
        return square;
    }

    public void setSquare(int square) {
        this.square = square;
    }

    public byte getFloor() {
        return floor;
    }

    public void setFloor(byte floor) {
        this.floor = floor;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getCR() {
        return CR;
    }

    public void setCR(String currency) {
        this.CR = currency;
    }

    public String getCM() {
        return CM;
    }

    public void setCM(String comment) {
        this.CM = comment;
    }
}
